﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Peninsula.IServices
{
    public  interface ISiteFileService:IBaseService<DataAccess.POCO.SiteFile>
    {
        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="id"></param>
        void DeleteFile(string id, bool isDelPhysical = true);

        /// <summary>
        /// 批量删除文件
        /// </summary>
        /// <param name="ids"></param>
        void DeleteFiles(string[] ids, bool isDelPhysical = true);
    }
}
